package com.cn.lxf.sharding_test.mapper;

import com.cn.lxf.sharding_test.entity.HealthRecord;

import java.sql.SQLException;
import java.util.List;

public interface HealthRecordRepository {
    void  addEntity(HealthRecord entity) throws SQLException;

    void deleteEntity(HealthRecord primaryKey) throws SQLException;

    List<HealthRecord> findEntities() throws SQLException;
}
